<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.box{
				width: 200px;
				height: 200px;
				background-color: pink;
				transition: all 2s;
				position: absolute;
				top: 0;
			}
			.box:hover{
				width: 500px;
				background-color: red;
				border-radius: 30px;
				top: 30px;
			}
		</style>
	</head>
	<body>
		<div class="box"></div>
	</body>
</html>